﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RPGProject.GameWorld.GameObjects;
namespace RPGProject.LoopSystem
{
    class ProjectileLooper : Loop
    {
        private Projectile proj;
        public ProjectileLooper(Projectile proj, LoopManager lm) : base(lm, 10)
        {
            this.proj = proj;
            this.proj.Init();
        }

        public override FuncType RunOnce()
        {
            return this.proj.RunOnce();
        }
    }
}
